package com.eboss2.sbs.model.db;

import org.litepal.crud.DataSupport;

import java.io.Serializable;

public class OrderDetail extends DataSupport implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private long sid; //门店ID
	private	String tradeOrderNo	;	//交易订单号
	private	int	state	;			//交易状态
	private	int	payType	;			//付款方式
	private	int	tradeMoney	;		//交易金额
	private	int	realMoney	;		//实收金额
	private	String	memberName	;	//会员名称
	
	private int cash;				//现金交易金额
	private int bankAmount;			//刷卡记账金额
	
	private	String	terminalSn	;	//终端号
	private	String	terminalName;	//终端名称
	private String activateCode;	//激活码
	
	private String merchantNo;		//
	
	//private	int	pointCost	;	//核销积分数
	private	String	benefit	;	//优惠
	private	long	tradeTime	;	//交易时间
	
	private String password;	//密码已经Base64处理
	private String couponSns;	//优惠券编号,逗号分隔
	private String cardNo;		//会员卡号
	
	private int couponCoverAmount;	
	private int pointCoverAmount;	
	private String transNo;
	private String authCode;
	private String serialNum;	
	private int pointAmount;
	
	private String point_url;		//积分二维码
	private String coupon_url;		//优惠券二维码
	private int point;				//本次产生的积分额度
	private int pointCurrent;		//当前剩余积分

	public long getSid() {
		return sid;
	}

	public void setSid(long sid) {
		this.sid = sid;
	}

	public String getTradeOrderNo() {return tradeOrderNo;}
	public void setTradeOrderNo(String tradeOrderNo) {this.tradeOrderNo = tradeOrderNo;}
	public int getState() {return state;}
	public void setState(int state) {this.state = state;}
	public int getPayType() {return payType;}
	public void setPayType(int payType) {this.payType = payType;}
	public int getTradeMoney() {return tradeMoney;}
	public void setTradeMoney(int tradeMoney) {this.tradeMoney = tradeMoney;}
	public int getRealMoney() {return realMoney;}
	public void setRealMoney(int realMoney) {this.realMoney = realMoney;}
	public String getMemberName() {return memberName;}
	public void setMemberName(String memberName) {this.memberName = memberName;}
	public String getTerminalSn() {return terminalSn;}
	public void setTerminalSn(String terminalSn) {this.terminalSn = terminalSn;}
	public String getTerminalName() {return terminalName;}
	public void setTerminalName(String terminalName) {this.terminalName = terminalName;}
//	public int getPointCost() {return pointCost;}
//	public void setPointCost(int pointCost) {this.pointCost = pointCost;}
	public String getBenefit() {return benefit;}
	public void setBenefit(String benefit) {this.benefit = benefit;}
	public long getTradeTime() {return tradeTime;}
	public void setTradeTime(long tradeTime) {this.tradeTime = tradeTime;}
	public String getPassword() {return password;}
	public void setPassword(String password) {this.password = password;}
	public String getCouponSns() {return couponSns;}
	public void setCouponSns(String couponSns) {this.couponSns = couponSns;}
	public String getCardNo() {return cardNo;}
	public void setCardNo(String cardNo) {this.cardNo = cardNo;}
	public int getCouponCoverAmount() {return couponCoverAmount;}
	public void setCouponCoverAmount(int couponCoverAmount) {this.couponCoverAmount = couponCoverAmount;}
	public int getPointCoverAmount() {return pointCoverAmount;}
	public void setPointCoverAmount(int pointCoverAmount) {this.pointCoverAmount = pointCoverAmount;}
	public String getActivateCode() {return activateCode;}
	public void setActivateCode(String activateCode) {this.activateCode = activateCode;}
	public String getMerchantNo() {return merchantNo;}
	public void setMerchantNo(String merchantNo) {this.merchantNo = merchantNo;}
	public String getTransNo() {return transNo;}
	public void setTransNo(String transNo) {this.transNo = transNo;}
	public String getAuthCode() {return authCode;}
	public void setAuthCode(String authCode) {this.authCode = authCode;}
	public String getSerialNum() {return serialNum;}
	public void setSerialNum(String serialNum) {this.serialNum = serialNum;}
	public int getPointAmount() {return pointAmount;}
	public void setPointAmount(int pointAmount) {this.pointAmount = pointAmount;}
	public String getPoint_url() {return point_url;}
	public void setPoint_url(String point_url) {this.point_url = point_url;}
	public String getCoupon_url() {return coupon_url;}
	public void setCoupon_url(String coupon_url) {this.coupon_url = coupon_url;}
	public int getPoint() {return point;}
	public void setPoint(int point) {this.point = point;}
	public int getPointCurrent() {return pointCurrent;}
	public void setPointCurrent(int pointCurrent) {this.pointCurrent = pointCurrent;}
	public int getCash() {
		return cash;
	}
	public void setCash(int cash) {
		this.cash = cash;
	}
	public int getBankAmount() {
		return bankAmount;
	}
	public void setBankAmount(int bankAmount) {
		this.bankAmount = bankAmount;
	}
	
}
